package com.jemmyee.pizza.web.bean;

import java.util.Date;

import com.jemmyee.core.utils.DateUtils;

/**
 * 客户查询条件封装
 * 
 * @author qiuchao 2010-12-17
 */
public class PersonBean {
	private Integer personId;
	private Integer cardId;
	private String name;
	private String number;
	private Integer type;
	private Date startTime; // 开始时间
	private Date endTime;// 结束时间

	private String strStartDate;// 日期字符串，主要便于查询时候页面显示
	private String strEndDate;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getStrStartDate() {
		return DateUtils.parseDateToString(getStartTime());
	}

	public void setStrStartDate(String strStartDate) {
		this.strStartDate = strStartDate;
	}

	public String getStrEndDate() {
		return DateUtils.parseDateToString(getEndTime());
	}

	public void setStrEndDate(String strEndDate) {
		this.strEndDate = strEndDate;
	}

	public Integer getPersonId() {
		return personId;
	}

	public void setPersonId(Integer personId) {
		this.personId = personId;
	}

	public Integer getCardId() {
		return cardId;
	}

	public void setCardId(Integer cardId) {
		this.cardId = cardId;
	}

	



}
